package sun.superstring.extends6constructor;

import sun.superstring.extends1demo.Teacher;

public class Test2 {
    public static void main(String[] args) {
        // 目标：子类调用父类构造器的应用场景
        Teacher t = new Teacher("泽玉", "Java、大数据、微服务", '女');
        System.out.println(t.getName());
        System.out.println(t.getSkill());
        System.out.println(t.getSex());
    }
}
